package com.lijianlove.keeplearning.dr.support.storage;

/**
 * 存储策略
 *
 * @author lijian
 * @date 2019/4/30 下午5:48
 */
public interface StorageStrategy {
    /**
     *
     * @param key
     * @param expire
     * @return
     */
    boolean putNX(String key, long expire);
}
